<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>卖家-修改个人信息</title>
<link href="<?php echo $this->_webroot('/user/css/common.css'); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_webroot('/user/css/content1.css'); ?>" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_webroot('/user/js/jquery-1.7.1.min.js'); ?>" type="text/javascript"></script>
<script src="<?php echo $this->_webroot('/user/js/common.js'); ?>" type="text/javascript"></script>


 
</head>
<body>
<psp:tags     htmlname='user_topnav1'  iconname='usertopnav1' />
<psp:tags     htmlname='user_topsearch'  iconname='usertopsearch' />

<div class="main">
	<div class="main-left">
    	<div class="title">会员管理中心</div>
        <psp:tags     htmlname='user_menulist'  iconname='usermenulist' />
    </div>
<link href="<?php echo $this->_webroot('/user/css/shoprequest.css'); ?>" rel="stylesheet" type="text/css" />   
    <div class="main-right main_right">
	

            <div class="cont">
                <div class="title_uc"><h3>我的物流</h3></div>               

 


			<table width="100%" border="0" cellspacing="0">
				<tr>
                    <th style="width:;">物流名称</th>
                    <th style="width:150px;">物流联系人</th>
                    <th style="width:;">物流电话</th>
                    <th style="width:60px;">车牌号</th>
                    <th style="width:160px;">费用</th>
                    <th style="width:60px;">操作</th>
                </tr>
				<?php if(empty($address_rs)){?>
					<tr><td class="name" colspan="7">没有保存的物流</td></tr>
				<?php }else{?>
				<?php foreach($address_rs as $val){?>
				<tr class="trcolor">
					<td class="name center"><?php echo $val['userlogistics']['name'];?></td>
                    <td class="name"><?php echo $val['userlogistics']['user_name'];?></td>
                    <td><?php echo $val['userlogistics']['telphone'];?></td>
                    <td class="name"><?php echo $val['userlogistics']['carnum'];?></td>
                    <td class="name"><?php echo $val['userlogistics']['money'];?></td>
                    <td class="name"><a href="<?php echo $this->_url('logistics/index/');?>?address_id=<?php echo $val['userlogistics']['id'];?>">修改</a><br /><a href="<?php echo $this->_url('logistics/dellog/');?>?address_id=<?php echo $val['userlogistics']['id'];?>">删除</a>
                    </td>
				</tr>
				<?php }?>
				<?php }?>
			</table>
			
      <form action="<?php echo $this->_url('logistics/index/');?>?address_id=<?php echo $address_id;?>" method="post" name="form_profile" onsubmit="return checkform();">
       <table id="newAddress" width="100%" border="0" cellspacing="0">
					<tr>
						<th align="left" width="30%">&nbsp;&nbsp;我的物流</th><th width="70%"><span></span></th>
					</tr>
					<tr><td class="textright">物流名称：</td>
						<td align="left"><input type="text" name="data[userlogistics][name]" value="<?php echo  $user_info['name'];?>" maxlength="50" style="width:250px;"  /></td></tr>

					<tr><td class="textright">物流联系人：</td>
					<td><input type="text" name="data[userlogistics][user_name]" value="<?php echo  $user_info['user_name'];?>" style="width:250px;" maxlength="20" /></td></tr>
					<tr><td class="textright">物流电话：</td>
					<td><input type="text" name="data[userlogistics][telphone]" value="<?php echo  $user_info['telphone'];?>" maxlength="20" /></td></tr>
					<tr><td class="textright">车牌号：</td>
						<td><input type="text" name="data[userlogistics][carnum]" value="<?php echo  $user_info['carnum'];?>" maxlength="20" /></td></tr>
					<tr><td class="textright">费用：</td>
						<td><input type="text" name="data[userlogistics][money]" value="<?php echo  $user_info['money'];?>" maxlength="10"  onchange="if(/\D/.test(this.value)){alert('只能输入数字');this.value='';}" />元</td></tr>
				
						<input type="hidden" name="data[userlogistics][id]" value="<?php echo  isset($user_info['id'])?$user_info['id']:'';?>" />
					<tr><td></td><td><span><input type="submit" name="submit" value="提交订单" /></span></td></tr>
				</table>

		</form>			  
			  
			  
            </div>
	
	

        

    </div>
    <div class="clear"></div>
</div>

<div class="footer">
    <psp:tags     htmlname='user_footer_helper'  iconname='userfooterhelper' />

</div>

<script language="JavaScript">
<!--



function checkform(){

		return true;

}

//-->
</script>
</body>
</html>